<!DOCTYPE html>
<html>
<head>
    <title>招聘系统</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.1.0/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/popper.js/1.12.5/umd/popper.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/4.1.0/js/bootstrap.min.js"></script>
</head>
<body>
<nav class="navbar navbar-expand-sm bg-dark navbar-dark">
    <a class="navbar-brand" href="index.html">首页</a>
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
        <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse" id="collapsibleNavbar">
        <ul class="navbar-nav">
            <li class="nav-item">
                <a class="nav-link" href="#personalpossition.html">发布职位管理</a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="login.html">用户登录</a>
            </li>
        </ul>
    </div>
</nav>
<div class="container">
    <h2>我发布的职位</h2>
    <!-- 按钮：用于打开模态框 -->
    <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">
        发布职位
    </button>
    <!--    <form class="form-inline"  style="margin-top:10px">-->
    <!--        <label >模板名字:</label>-->
    <!--        <input type="text" class="form-control" id="byName">-->
    <!--        <label >&nbsp&nbsp类型:</label>-->
    <!--        <select class="form-control" id="byType">-->
    <!--            <option value="0">Word</option>-->
    <!--            <option value="1">PDF</option>-->

    <!--        </select>-->

    <!--        &nbsp&nbsp<a  class="btn btn-primary" id="searchbtn">搜索</a>-->
    <!--    </form>-->
    <div class="table-responsive" style="margin-top:10px">
        <table class="table table-bordered">
            <thead>
            <tr>
                <th>职位名称</th>
                <th>工作内容</th>
                <th>学历要求</th>
                <!--                <th>资薪范围</th>-->
                <!--                <th>工作经验</th>-->
                <!--                <th>需求人数</th>-->
                <!--                <th>工作地点</th>-->
                <!--                <th>发布时间</th>-->
                <th>操作</th>
            </tr>
            </thead>
            <tbody id="databody">

            </tbody>
        </table>
    </div>
    <div class="row">
        <div class="col-sm-3"></div>
        <div class="col-sm-6">
            <ul class="pagination">

            </ul>

        </div>
        <div class="col-sm-3"></div>
    </div>

</div>



<!-- 模态框 -->
<div class="modal fade" id="myModal">
    <div class="modal-dialog">
        <div class="modal-content">

            <!-- 模态框头部 -->
            <div class="modal-header">
                <h4 class="modal-title">发布职位</h4>
                <button type="button" class="close" data-dismiss="modal">&times;</button>
            </div>

            <!-- 模态框主体 -->
            <div class="modal-body">
                <form>
                    <div class="form-group">
                        <label >职位名称:</label>
                        <input type="text" class="form-control" id="nameput" placeholder="职位名称">
                    </div>
                    <div class="form-group">
                        <label >工作地点:</label>
                        <input type="text" class="form-control" id="cityput" placeholder="工作地点">
                    </div>
                    <div class="form-group">
                        <label >工作详细地点:</label>
                        <input type="text" class="form-control" id="addressput" placeholder="工作详细地点">
                    </div>
                    <div class="form-group">
                        <label >具体工作内容:</label>
                        <textarea class="form-control" rows="5" id="detailput"></textarea>
                    </div>
                    <div class="form-group">
                         <label >学历要求:</label>
                          <input type="text" class="form-control" id="educationput" placeholder="学历要求">
                    </div>
                    <div class="form-group">
                         <label >最大薪资:</label>
                         <input type="text" class="form-control" id="maxSalesput" placeholder="(k/月)">
                    </div>
                    <div class="form-group">
                        <label >最小薪资:</label>
                        <input type="text" class="form-control" id="minSalesput" placeholder="(k/月)">
                    </div>
                    <div class="form-group">
                        <label >招聘人数:</label>
                        <input type="text" class="form-control" id="requiredNumput" placeholder="(人)">
                    </div>
                    <div class="form-group">
                        <label >工作经验:</label>
                        <input type="text" class="form-control" id="workedyearsput" placeholder="(年)">
                    </div>

                </form>

            </div>

            <!-- 模态框底部 -->
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" id="addbtn">发布</button>
                <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
            </div>

        </div>
    </div>
</div>

<!-- 模态框 -->
<div class="modal fade" id="updateModal">
    <div class="modal-dialog">
        <div class="modal-content">

            <!-- 模态框头部 -->
            <div class="modal-header">
                <h4 class="modal-title">修改职位信息</h4>
                <button type="button" class="close" data-dismiss="modal">&times;</button>
            </div>

            <!-- 模态框主体 -->
            <div class="modal-body">
                <form>
                    <input type="hidden" class="form-control" id="updeteid">
                    <div class="form-group">
                        <label >职位名称:</label>
                        <input type="text" class="form-control" id="nameput2" placeholder="职位名称">
                    </div>
                    <div class="form-group">
                        <label >工作地点:</label>
                        <input type="text" class="form-control" id="cityput2" placeholder="工作地点">
                    </div>
                    <div class="form-group">
                        <label >工作详细地点:</label>
                        <input type="text" class="form-control" id="addressput2" placeholder="工作详细地点">
                    </div>
                    <div class="form-group">
                        <label >具体工作内容:</label>
                        <textarea class="form-control" rows="5" id="detailput2"></textarea>
                    </div>
                    <div class="form-group">
                        <label >学历要求:</label>
                        <input type="text" class="form-control" id="educationput2" placeholder="学历要求">
                    </div>
                    <div class="form-group">
                        <label >最大薪资:</label>
                        <input type="text" class="form-control" id="maxSalesput2" placeholder="(k/月)">
                    </div>
                    <div class="form-group">
                        <label >最小薪资:</label>
                        <input type="text" class="form-control" id="minSalesput2" placeholder="(k/月)">
                    </div>
                    <div class="form-group">
                        <label >招聘人数:</label>
                        <input type="text" class="form-control" id="requiredNumput2" placeholder="(人)">
                    </div>
                    <div class="form-group">
                        <label >工作经验:</label>
                        <input type="text" class="form-control" id="workedyearsput2" placeholder="(年)">
                    </div>

                </form>

            </div>

            <!-- 模态框底部 -->
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" id="updatebtn">发布</button>
                <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
            </div>

        </div>
    </div>
</div>

<!-- 模态框 -->
<div class="modal fade" id="dowModal">
    <div class="modal-dialog">
        <div class="modal-content">

            <!-- 模态框头部 -->
            <div class="modal-header">
                <h4 class="modal-title">简历管理</h4>
            </div>

            <!-- 模态框主体 -->
            <div class="modal-body">
                <table>
                    <thead>
                    <tr>
                        <th>名称</th>
                        <th>投递时间</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody id="dowbody">

                    </tbody>
                </table>

            </div>

            <!-- 模态框底部 -->
            <div class="modal-footer">
                <a href="personalpossition.html"><button>关闭</button></a>
            </div>

        </div>
    </div>
</div>



<script type="text/javascript" src="/job/js/personalpossition.js">
</script>

</body>
</html>